//
//  BBUIButtonViewModel.h
//  BBKit
//
//  Created by apple on 2019/6/28.
//  Copyright © 2019年 baobao. All rights reserved.
//

#import "BBBaseViewModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface BBUIButtonViewModel : BBBaseViewModel

@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ title)(NSString *title);
//高亮
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ titleHL)(NSString *titleHL);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ titleSelected)(NSString *titleSelected);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ titleDisabled)(NSString *titleDisabled);

@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ titleColor)(UIColor *titleColor);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ titleColorHL)(UIColor *titleColorHL);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ titleColorSelected)(UIColor *titleColorSelected);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ titleColorDisabled)(UIColor *titleColorDisabled);

@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ titleShadowColor)(UIColor *titleShadowColor);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ titleShadowColorHL)(UIColor *titleShadowColorHL);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ titleShadowColorSelected)(UIColor *titleShadowColorSelected);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ titleShadowColorDisabled)(UIColor *titleShadowColorDisabled);

@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ image)(UIImage *image);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ imageHL)(UIImage *imageHL);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ imageSelected)(UIImage *imageSelected);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ imageDisabled)(UIImage *imageDisabled);

@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ backgroundImage)(UIImage *backgroundImage);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ backgroundImageHL)(UIImage *backgroundImageHL);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ backgroundImageSelected)(UIImage *backgroundImageSelected);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ backgroundImageDisabled)(UIImage *backgroundImageDisabled);

@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ attributedTitle)(NSAttributedString *attributedTitle);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ attributedTitleHL)(NSAttributedString *attributedTitleHL);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ attributedTitleSelected)(NSAttributedString *attributedTitleSelected);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ attributedTitleDisabled)(NSAttributedString *attributedTitleDisabled);

@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ backgroundColor)(UIColor *backgroundColor);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ backgroundColorHL)(UIColor *backgroundColorHL);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ backgroundColorSelected)(UIColor *backgroundColorSelected);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ backgroundColorDisabled)(UIColor *backgroundColorDisabled);

@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ titleFont)(UIFont *titleFont);

@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ contentEdgeInsets)(UIEdgeInsets contentEdgeInsets);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ titleEdgeInsets)(UIEdgeInsets titleEdgeInsets);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ imageEdgeInsets)(UIEdgeInsets imageEdgeInsets);

#pragma mark - # UIControl
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ enabled)(BOOL enabled);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ selected)(BOOL selected);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ highlighted)(BOOL highlighted);

@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ eventBlock)(UIControlEvents controlEvents, void (^eventBlock)(id sender));

@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ contentVerticalAlignment)(UIControlContentVerticalAlignment contentVerticalAlignment);
@property(nonatomic,strong,readonly) BBUIButtonViewModel *(^ contentHorizontalAlignment)(UIControlContentHorizontalAlignment contentHorizontalAlignment);

@end

NS_ASSUME_NONNULL_END
